home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
compuserve-file-archive
/
08 System Utilities
/
1581I0.TXT
< prev
next >
Wrap
Text File
|
2019-04-13
|
1KB
|
34 lines
#: 16193 S9/Peripherals
30-Aug-88 21:44:00
Sb: #1581 sub directories
Fm: Miklos Garamszeghy 72060,1153
To: Gary Farmaner 76703,3050 (X)
The i0 command on the 1581 can be disabled by the following:
"m-w"chr$(152)chr$(1)chr$(2)chr$(123)chr$(128)
All 1581 internal commands are sent through indirect vectors in RAM starting
at $0190. The vector for the i0 command is at m@198
this normally points to the code at 8ec5. The above program changes
this vector to point to an rts instruction at 807b. This effectively
kills the command and allows you to use the partition. Note that the
partition is not retained when you change disks (the init routine for
changed disk log ins also resets the directory to the root.) But if
you keep the disk in the drive you will not have any problems.
I am not sure how you can send this command string from within your
application, but it can be sent before. As long as the drive does not do a
hard reset or an ui command, then the new vector will be retained. If you
want to disable ui as well, its vector is at 194 and can be pointed to
the same rts. Once in your application, you can change the